Skip to content

[PWGLF] Added light version of spectraTOF - #17405

Merged
maciacco merged 8 commits into
AliceO2Group:masterfrom
fpvolpe:master
Aug 12, 2026
Merged

[PWGLF] Added light version of spectraTOF#17405
maciacco merged 8 commits into
AliceO2Group:masterfrom
fpvolpe:master

Conversation

@fpvolpe

@fpvolpe fpvolpe commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Light version of spectraTOF for upcoming usage of zorro
@scannito

@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 1 errors, ⚠️ 0 warnings, 🔕 0 disabled

@maciacco
maciacco enabled auto-merge (squash) August 12, 2026 13:42
@maciacco
maciacco merged commit cf647b3 into AliceO2Group:master Aug 12, 2026
13 of 15 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for a0e829a at 2026-08-13 13:50:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 12 errors and 0 warnings.'
Found 12 errors and 0 warnings.
++ [[ 12 -gt 0 ]]
++ cat /sw/BUILD/79a06577c6640609f5ed2a70d996f24ddf1e061a/O2Physics-code-check/errors.txt
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:25:1: error: included header RecoDecay.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:40:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:52:1: error: included header TH2.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:55:1: error: included header TPDGCode.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:70:44: error: variable 'hDcaXYZ' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:71:44: error: variable 'hDcaXYZPrm' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:72:44: error: variable 'hDcaXYZStr' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:73:44: error: variable 'hDcaXYZMat' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:84:8: error: constructor does not initialize these fields: pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:169:45: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:170:42: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGLF/Tasks/Nuspex/spectraTOFLight.cxx:841:60: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 12 -gt 0 ]]
++ exit 1
--

Full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants